package com.banksoft.cps.service;

import com.banksoft.cps.bean.SaleOrder;
import com.banksoft.cps.bean.common.ServiceException;
import com.banksoft.cps.bean.query.SaleOrderQuery;
import com.banksoft.cps.bean.warpper.SaleOrderWarpper;

import java.util.List;

/**
 * Created by rongzhao.zhu on 2018/1/2.
 */
public interface SaleOrderService {
    List<SaleOrder> list(SaleOrderQuery query);

    List<SaleOrderWarpper> listWarpper(SaleOrderQuery query);

    long count(SaleOrderQuery query);

    void save(SaleOrder bean) throws ServiceException;

    SaleOrder findById(String id);

    SaleOrderWarpper findWarpperById(String id);

    void pullData(String id) throws ServiceException;

    void delete(String[] ids);
}


